﻿using System.Windows.Forms;
using OhioState.Graphics;
using OhioState.Graphics.OpenGL;

namespace OhioStateVolumeRenderer
{
    public partial class OpenGLForm : Form
    {
        private OpenGLPanel glPanel;
        public OpenGLForm()
        {
            InitializeComponent();
            glPanel = new OpenGLPanel();
            glPanel.Dock = DockStyle.Fill;
            this.RenderPanel = glPanel;
            this.Controls.Add(glPanel);

        }
        public IRenderPanel RenderPanel { get; private set; }
    }
}
